EMT Practice Test

1. Question Content...


Question List

Question1: What is the advantage of using the REST API?

Question2: Referring to the exhibit.

which two statements are correct? (Choose two.)

Question3: Junos PyEZ is a microframework used to operate the Junos OS using which language?

Question4: As part of an application to manage network devices, you must query hundreds of network devices and return
the unique set of IP prefixes by configured firewall filters. To accomplish this task you will require a mutable
data type that contains unordered, unique elements.
Which Python data type will fulfill these requirements?

Question5: What is a valid JSON object?

Question6: PyEX supports which three connection methods? (Choose three.)

Question7: Exhibit.

Which command will solve the problem......

Question8: Which character is used to show the start of parameters in a REST API call?

Question9: Given the <name> username </name> XML code, what is the information between the opening and closing
tags called?

Question10: Which Ansible module would be used to obtain basic information about a Junos device?

Question11: Which two statements about DevOps are correct? (Choose two.)

Question12: In Phython, my_list = [ 1, 2, 3] is an example of which type of operation?

Question13: Which set of DevOps CAUMS values is correct?

Question14: Exhibit.

Which type of file is shown in the exhibit?

Question15: What are three elements of Infrastructure as Code (IaC)? (Choose three.)

Question16: Ansible playbooks are written in which format?

Question17: Which statement about using Ansible with a Junos device is correct?

Question18: What are two examples of XPath operators? (Choose two.)

Question19: Which statement is correct about Infrastructure as Code (IaC)?

Question20: Which character is used to separate multiple parameters in a single REST API call?

Question21: Which Python code block is an example of an context manager?
A)

B)

C)

D)

Question22: You need an Ansible Playbook to log in to multiple devices with different login credentials. For compliance
purposes, you are not allowed to prompt the user for the credentials or allow the credentials be stored in
planted on the control machine for each device.
Which two actions will fulfill this task? (Choose two.)

Question23: Exhibit.

Referring to the exhibit, which XPath statement would retrieve the commit-user attribute in the candidate
configuration?

Question24: What will determine which data serialization format is used for interfacing with a system?

Question25: You are a programmer currently developing code on a Linux device. You want to start the Python interactive
interpreter (shell) from the command prompt. Which command must be used to accomplish this task?

Question26: Which API does the Junos CLI use to modify the configuration database?

Question27: What are two values of the Agile model of software development? (Choose two.)

Question28: In the PyEZ utils module, which class would be used to begin the software upgrade process on a Junos device?

Question29: Exhibit.

You are asked to create a block of code containing a list of desserts.
What would you do to correct the YAML block shown in the exhibit?

Question30: Exhibit.

Referring to the exhibit, which statement is correct?

Question31: Exhibit.

Referring to the exhibit, which two statements are correct? (Choose two.)

Question32: You are asked to write an automation script using Python. When you execute the script, you notice that your
code sends an RpcTimeoutError error.
In this scenario, what would be the reason for this error?

Question33: Exhibit.

You need to translate the configuration shown in the exhibit into a PyEZ RPC call.
Which line shows the proper PyEZ syntax?

Question34: What are two data structures in JSON? (Choose two.)

Question35: You are using the curl tool to include multiple RPCs in a REST API request.
Which HTTP method must be used for this request?

Question36: Which Ansible Playbook play parameter will prevent the system from copying the playbook to the Junos
devices?

Question37: You want to perform a dry run on the myPlays playbook and use a custom inventory file called myRouters.ini.
Which Ansible command would you use in this scenario?

Question38: Exhibit.

Referring to the exhibit, which two statements are correct? (Choose two )

Question39: Which statement is correct about the Junos XML API?

Question40: Your organization is developing an application to automate management of Junos network appliances. You
want to use the existing PyEZ libraries to improve the development process. Which API would satisfy this
requirement?

Question41: You are asked to gather interface information from a Junos device. Your environment supports the JSON
format. To determine how interface information is represented, you decide to view all of the configured
interface key-value pairs in the current Junos candidate configuration.
In this scenario, which command will provide the information that you need?